package com.xhj.client;

import com.xhj.util.ResultEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Component
@FeignClient("service-msm")
public interface MsmService {

    @RequestMapping("/msm/send/{phoneNum}")
    public ResultEntity sendCode(@PathVariable("phoneNum") String phoneNum);
}
